<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><{$setting.title}></title>
		<meta content="<{$setting.keywords}>" name="keywords" />
		<meta content="<{$setting.description}>" name="description" />
		<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/index.css" rel="stylesheet" type="text/css"/>
		<script type="text/javascript" src="<{$weburl}>/static/js/jquery.js"></script>
		<script type="text/javascript" src="<{$weburl}>/static/js/jquery.SuperSlide.2.1.js"></script>
		<script type="text/javascript" src="<{$weburl}>/static/js/Validform_v5.3.2_min.js"></script>
		<script language="JavaScript">
			$(function() {
				//品牌选择
				$("#brand").change(function(){
					$.get("<{$weburl}>/index.php?m=ajax&ajax=1", { 
						bid :  $("#brand").val() 
					}, function (data, textStatus){
						   $("#subbrand").html(data); // 把返回的数据添加到页面上
						}
					);
				});
				
				$div_li = $("div.car_tab ul li a");
				$div_li.mouseover(function() {
					$(this).addClass("here").parent().siblings().children().removeClass("here");
					var index = $div_li.index(this);
					$("div.cartab_box > div").eq(index).show().siblings().hide();
				});

				//表单验证
				$(".carform").Validform({
					tiptype:1
				});
				//热门车源
				$("#hotcar").load("<{$weburl}>/index.php?m=ajax&ajax=1&cartype=indexhot");
			})
</script>
		</head>
	<body>
<!--内容--> 
<{include file="default/`$setting.templates`/head.html"}>
<div class="main clearfix mt15">
	<div class="index_left">
		<div class="leftsearch">
			<div class="leftsearchbox">
				<h3 class="h301">品牌</h3>
				<div class="clearfix"><{foreach from=$arr_brand key=skey item=brandlist}><a href="<{$weburl}>/index.php?m=search&c=b_<{$skey}>" <{if $smarty.cookies.brand==$skey}>class="here"<{/if}>><{$brandlist}></a><{/foreach}>
				</div>
			</div>
			<div class="leftsearchbox">
				<h3 class="h302">价格</h3>
				<div class="clearfix"><{foreach from=$arr_price key=skey item=pricelist}><a href="<{$weburl}>/index.php?m=search&c=p_<{$skey}>" <{if $smarty.cookies.price==$skey}>class="here"<{/if}>><{$pricelist}></a><{/foreach}></div>
			</div>
			<div class="leftsearchbox">
				<h3 class="h303">车型</h3>
				<div class="clearfix"><{foreach from=$cache.modellist key=skey item=modellist}><a href="<{$weburl}>/index.php?m=search&c=m_<{$skey}>" ><{$modellist}></a><{/foreach}></div>
			</div>
			<div class="leftsearchbox">
				<h3 class="h304">车龄</h3>
				<div class="clearfix"><{foreach from=$arr_age key=skey item=agellist}><a href="<{$weburl}>/index.php?m=search&c=a_<{$skey}>" ><{$agellist}></a><{/foreach}></div>
			</div>
		</div>
	</div>
	<div class="index_center">
		<div class="focusBox" style="margin:0 auto">
			<ul class="pic">
				<{foreach from=$filmlist item=film_list}>
				<li><a href="<{$film_list.url}>" target="_blank"><img src="<{$film_list.pic}>"/></a></li>
				<{/foreach}>
			</ul>
			<a class="prev" href="javascript:void(0)"></a>
			<a class="next" href="javascript:void(0)"></a>
			<ul class="hd">
				<{foreach from=$filmlist item=film_list}>
				<li></li>
				<{/foreach}>
			</ul>
		</div>
		<script type="text/javascript">
			/*鼠标移过，左右按钮显示*/
			jQuery(".focusBox").hover(function(){ jQuery(this).find(".prev,.next").stop(true,true).fadeTo("show",0.2) },function(){ jQuery(this).find(".prev,.next").fadeOut() });
			/*SuperSlide图片切换*/
			jQuery(".focusBox").slide({ mainCell:".pic",effect:"fold", autoPlay:true, delayTime:600, trigger:"click"});
		</script>
		<div class="commonbox03 mt10">
			<h3 class="mt10">精品店铺</h3>
			<div class="box2">
				<div class="tjdealer" style="margin:0 auto">
					<div class="ohbox">
					<ul class="piclist">
					<{foreach from=$comdealer item=comdealerlist}>
						<li>
							<a href="<{$weburl}>/index.php?m=shop&id=<{$comdealerlist.id}>" target="_blank"><{if $comdealerlist.logo<>''}><img src="<{$comdealerlist.logo}>" class="vt"/><{else}>
							<div class="noimg">暂无图片</div><{/if}><span class="gray01"><{$comdealerlist.company}></span>
							</a>
						</li>
					<{/foreach}>
					</ul>
				</div>
				<div class="pageBtn">
					<span class="prev">&lt;</span>
					<span class="next">&gt;</span>
				</div>
			</div>
			<script type="text/javascript">
			jQuery(".tjdealer").slide({mainCell:".piclist", effect:"leftLoop",vis:5,autoPlay:true});
			</script>
			</div>
		</div>
	</div>
	<div class="index_right">
		<div class="activityBox">
			<div class="title">
				<h2>特荐车源</h2>
				<span class="prev"></span>
				<span class="next"></span>
			</div>
			<div class="content">
				<span class="leftZone"></span>
				<div class="contentInner">
					<ul>
						<{foreach from=$car_list.todaycar item=todaycarlist}>
						<li>
							<a href="<{$todaycarlist.p_url}>" target="_blank"><img src="<{$todaycarlist.p_mainpic}>" /></a>
							<p class="carname mt10"><a href="<{$todaycarlist.p_url}>" class="f14"><{$todaycarlist.p_allname}></a></p>
							<p class="mt5"><span class="f16 orange01"><{$todaycarlist.p_price}></span></p>
							<p class="mt5 gray01"><{$todaycarlist.p_year}>年<{$todaycarlist.p_month}>月上牌</p>
						</li>
						<{/foreach}>
					</ul>
				</div>
				<span class="rightZone"></span>
			</div>
		</div>
		<script type="text/javascript">jQuery(".activityBox").slide({ mainCell:".contentInner ul", effect:"top",delayTime:400});</script>
		<div class="commonbox03 mt10">
			<h3 class="mt10">3重质量把控保障</h3>
			<h3 class="mt10" style="color:red">监督电话：<{$setting.tel}></h3>
			<div class="box">
				<ul class="clearfix chengnuo">
					<li><img src="<{$weburl}>/templates/default/<{$setting.templates}>/img/1.jpg"></li>
					<li><img src="<{$weburl}>/templates/default/<{$setting.templates}>/img/2.jpg"></li>
					<li><img src="<{$weburl}>/templates/default/<{$setting.templates}>/img/3.jpg"></li>
				</ul>
			</div>
		</div>
	</div>
</div>
<{if $setting.version==2 or $setting.version==3}>
<div class="main clearfix mt15">
	<div class="main_left">
		<div class="commonbox01">
			<h3>商家推荐二手车</h3>
			<div class="box">
				<ul class="bigcarlist clearfix">
					<{foreach from=$car_list.sjcar key=skey item=recomcarlist}>
					<li <{if ($skey+1)%4<>0}>class="bbg"<{/if}>>
						<a href="<{$recomcarlist.p_url}>" target="_blank"><{if $recomcarlist.p_mainpic<>""}><img src="<{$recomcarlist.p_mainpic}>"/><{else}><img src="<{$weburl}>/static/img/car.jpg"/><{/if}></a>
						<p class="carname mt5"><a href="<{$recomcarlist.p_url}>" target="_blank"><{$recomcarlist.p_allname}></a></p>
						<p class="price"><{$recomcarlist.p_price}></p>
						<p class="gray01 mt5"><{$recomcarlist.p_year}>年<{$recomcarlist.p_month}>月上牌&nbsp;&nbsp;<{$recomcarlist.p_kilometre}>万公里</p>
					</li>
					<{/foreach}>
				</ul>
			</div>
		</div>
	</div>
	<div class="main_right">
		<div class="hotdealer">
			<h3>热门车商</h3>
			<{foreach from=$hotdealer item=hotdealerlist}>
			<div class="hotdealerbox mb10 clearfix">
				<div class="img"><{if $hotdealerlist.logo<>''}><img src="<{$hotdealerlist.logo}>" class="vt"><{else}><div class="noimg">暂无图片</div><{/if}></div>
				<div class="info">
					<p><a href="<{$weburl}>/index.php?m=shop&id=<{$hotdealerlist.id}>" target="_blank"><{$hotdealerlist.company_short}></a></p>
					<p class="gray01"><{$hotdealerlist.mobilephone}></p>
					<p class="gray01">车源：<span class="orange01"><{$hotdealerlist.carcount}></span> 辆</p>
				</div>
			</div>
			<{/foreach}>
		</div>	
	</div>
</div>
<{/if}>
<div class="main mt15 clearfix">
	<div class="main_left">
		<div class="commonbox01">
			<h3>个人推荐二手车</h3>
			<div class="box">
				<ul class="bigcarlist clearfix">
					<{foreach from=$car_list.grcar key=skey item=grcarlist}>
					<li <{if ($skey+1)%4<>0}>class="bbg"<{/if}>>
						<a href="<{$grcarlist.p_url}>" target="_blank"><{if $grcarlist.p_mainpic<>""}><img src="<{$grcarlist.p_mainpic}>"/><{else}><img src="<{$weburl}>/static/img/car.jpg"/><{/if}></a>
						<p class="carname mt5"><a href="<{$grcarlist.p_url}>" target="_blank"><{$grcarlist.p_allname}></a></p>
						<p class="price"><{$grcarlist.p_price}></p>
						<p class="gray01 mt5"><{$grcarlist.p_year}>年<{$grcarlist.p_month}>月上牌&nbsp;&nbsp;<{$grcarlist.p_kilometre}>万公里</p>
					</li>
					<{/foreach}>
				</ul>
			</div>
		</div>
	</div>
	<div class="main_right">
		<div class="commonbox02">
			<h3>热门车源排行</h3>
			<div class="box">
				<div id="hotcar" class="indexhotcarlist"></div>
			</div>
		</div>
	</div>
</div>
<div class="main mt15">
	<div class="indexbox clearfix">
		<div class="left">
			<h3><a href="<{$weburl}>/index.php?m=news&catid=1" class="more">更多</a>二手车行情</h3>
			<div class="box">
				<ul class="newslist">
					<{foreach from=$newslist.1 item=newslist1}>
					<li><a href="<{$newslist1.n_url}>" target="_blank"><{$newslist1.shorttitle}></a></li>
					<{/foreach}>
				</ul>
			</div>
		</div>
		<div class="left">
			<h3><a href="<{$weburl}>/index.php?m=news&catid=2" class="more">更多</a>交易过户</h3>
			<div class="box">
				<ul class="newslist">
					<{foreach from=$newslist.2 item=newslist2}>
					<li><a href="<{$newslist2.n_url}>" target="_blank"><{$newslist2.shorttitle}></a></li>
					<{/foreach}>
				</ul>
			</div>
		</div>
		<div class="left">
			<h3><a href="<{$weburl}>/index.php?m=news&catid=3" class="more">更多</a>汽车养护</h3>
			<div class="box">
				<ul class="newslist">
					<{foreach from=$newslist.3 item=newslist3}>
					<li><a href="<{$newslist3.n_url}>" target="_blank"><{$newslist3.shorttitle}></a></li>
					<{/foreach}>
				</ul>
			</div>
		</div>
		<div class="right">
			<h3><a href="<{$weburl}>/index.php?m=news&catid=4" class="more">更多</a>驾驶技巧</h3>
			<div class="box">
				<ul class="newslist">
					<{foreach from=$newslist.4 item=newslist4}>
					<li><a href="<{$newslist4.n_url}>" target="_blank"><{$newslist4.shorttitle}></a></li>
					<{/foreach}>
				</ul>
			</div>
		</div>
	</div>
</div>
<script language="JavaScript">
$(function() {
	$mark_li = $("div.marklist ul li");
	$mark_li.mouseover(function() {
		$(this).addClass("here").siblings().removeClass("here");
		var index = $mark_li.index(this);
		$("div.marklistbox > div").eq(index).show().siblings().hide();
	});
});
</script>
<div class="mt15 footbox">
	<div class="box clearfix">
		<div class="left">热门车系</div>
		<div class="right">
			<div class="marklist">
				<ul class="clearfix">
					<{foreach from=$hotkeywordlist key=skey item=hotkeyword}>
					<li <{if $skey=='A'}>class="here"<{/if}>><{$skey}></li>
					<{/foreach}>
				</ul>
			</div>
			<div class="marklistbox">
				<{foreach from=$hotkeywordlist key=skey item=hotkeyword}>
				<div class="markbox <{if $skey<>'A'}>hide<{/if}>">
					<{foreach from=$hotkeyword key=skey item=hotkey}>
						<a href="<{$weburl}>/index.php?m=search&k=<{$hotkey.keyword}>"><{$hotkey.keywords}></a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<{/foreach}>
				</div>
				<{/foreach}>
			</div>
		</div>
	</div>
	<div class="box clearfix">
		<div class="left">友情链接</div>
		<div class="right">
			<ul class="link_list clearfix">
				<{foreach from=$link_list item=linklist}>
				<li><a href="<{$linklist.l_url}>" target="_blank"><{$linklist.l_name}></a></li>
				<{/foreach}>
			</ul>
		</div>
	</div>
</div>
<{include file="default/`$setting.templates`/foot.html" }>
</body>
</html>